﻿<%@ Page Title="我的活动" Language="C#" MasterPageFile="~/HealthCommunity.Master" AutoEventWireup="true" CodeBehind="MyActivity.aspx.cs" Inherits="HealthCommunity.MyActivity" %>

<%@ Register Src="Controls/UCActivityList.ascx" TagName="UCActivityList" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<link href="css/jqueryui/jquery-ui-1.8.20.custom.css" rel="stylesheet" type="text/css" />
	<script src="Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
	<script src="Scripts/jquery-ui-1.8.20.custom.min.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(function () {
			$("#coursecentertabs").tabs({
				ajaxOptions: {
					error: function (xhr, status, index, anchor) {
						$(anchor.hash).html(
						"Couldn't load this tab. We'll try to fix this as soon as possible. " +
						"If this wouldn't be a demo.");
					}
				}
			});
		});
	</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<div class="contenttitle">
		<h2>
			我的活动</h2>
	</div>
	<div id="coursecentertabs">
		<ul>
			<li>
				<a href="#tabs-1">
					我发布的活动
				</a>
			</li>
			<li>
				<a href="#tabs-2">
					我参加的活动
				</a>
			</li>
		</ul>
		<div id="tabs-1" style="padding-left: 0px;">
			<uc1:UCActivityList ID="UCActivityList1" runat="server" ActivityGetType="2" />
		</div>
		<div id="tabs-2" style="padding-left: 0px;">
			<uc1:UCActivityList ID="UCActivityList2" runat="server" ActivityGetType="3" />
		</div>
	</div>
</asp:Content>
